﻿<!-- 模态框（Modal） -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close"
                        data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    <strong>添加灵感</strong>
                </h4>
            </div>
            <input id="uid" type="hidden" value="@Session["uid"]" />
            <div class="modal-body">
                <div class="form-group">
                    <label for="name">灵感描述</label>
                    <textarea id="txt_idea-dec" class="form-control" rows="3" placeholder="请填写灵感描述" ></textarea>
                </div>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label for="name">发布人</label>
                    @*<input type="text" id="txt_idea-publisher" class="form-control" placeholder="请填写发布人，不填则为匿名" />*@
                    <input type="text" id="txt_idea-publisher" class="form-control" readonly="readonly" value="@Session["nickName"]" />
                </div>
                <div class="radio">
                    <label>
                        <input type="radio" name="optionsRadios" id="optionsRadios1" value="public" checked>
                       公开(自己添加的灵感,所有人可见)
                    </label>
                </div>
                <div class="radio">
                    <label>
                        <input type="radio" name="optionsRadios" id="optionsRadios2" value="private">
                        私有(仅自己可见)
                    </label>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default"
                        data-dismiss="modal">
                    关闭
                </button>
                <button id="Modal-Add" type="button" class="btn btn-primary">
                    添加
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>
